// Physical memory allocator
#ifndef MEMO_H
#define MEMO_H

#include "../util/types.h"
#include "../util/param.h"

struct run
{
  struct run *next;
  int len; // bytes
};

//extern struct run *freelist;

void   panic (char *s);
void   *memset(void *dst, int c, uint n);
void   *memmove(void *dst, const void *src, uint n);
void   kinit ();
void   kfree (char *v, int len);
char   *kalloc (int n);

#endif
